package com.wiscamp.ninechapters.tags.domain.models;

import cube.ddd.domain.Entity;
import lombok.Data;

@Data
public class KnowledgeTreePoint implements Entity {
    private long id = 0L;

    private long parentId = 0L;

    private String topic = "";

    private boolean enabled = false;

    public KnowledgeTreePoint() {
        //
    }

    public KnowledgeTreePoint(long id, long parentId, String topic, boolean enabled) {
        this.id = id;
        this.parentId = parentId;
        this.topic = topic;
        this.enabled = enabled;
    }
}
